<template>
  <div class="container">
    <Nav></Nav>
    <div class="layout">
      <router-view />
    </div>
  </div>
</template>

<script lang="ts">
import {
  defineComponent,
  defineAsyncComponent,
  reactive,
  onMounted,
} from 'vue';
import { useRouter, useRoute, onBeforeRouteUpdate } from 'vue-router';
export default defineComponent({
  name: 'App',
  components: {
    Nav: defineAsyncComponent(() => import('./components/Nav.vue')),
  },
  setup() {
    const state = reactive({});
  },
});
</script>

<style lang="scss" scoped>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: left;
  color: #2c3e50;
  padding-top: 61px;
}
.container {
  width: 1200px;
  margin: 0 auto;
}
</style>
